Tandy 2/10/2019 | |
I'm on phpr 10, using static persmissions, with user groups default, admin, and users (I'm using the group-name as groupID field value). This small project only has an administrator and users that can register. Newly (successfully) registered users should automatically belong to the group 'users'. Link to page In other words:
|
M
|
MikeT author 2/10/2019 |
Thanks. I also already use a custom view for my "Profile" page of non-admin users.
|
Tandy 2/11/2019 | |
Thanks. I also already use a custom view for my "Profile" page of non-admin users. What I was asking was more how to handle group assignment for users upon registration, when using static permissions with basically 2 groups: admins and users, but maybe 1 more user-group in the future. All this with making sure that no one is able to register to the admin group, by accident or "hacking" of POSTs. I'm sure I'm just overly paranoid...bur wanted to ask how to best not make a mistake here;-) I was wondering if there's a setting I overlooked about default user group (other than default) for registering users, or whether I should use one of the scenarios I've written above:
|
M
|
MikeT author 2/11/2019 |
Since I might have to have another user group I don't want to use the default group. |
admin 2/11/2019 | |
Set default value of GroupID field to any group name of your choice be that "default", "user" or "customer". |
M
|
MikeT author 2/11/2019 |
thanks Sergey. |